ElasticPress\IndexHelper D

Total Complexity 181
Dependencies 7
Dependents 14
Total lines 1,542
Lines of code 744
Logical lines of code 403
Comment lines 577
Methods 42
Properties 4

Methods 42

Method Rating Maintainability Complexity Lines of code
index_next_batch()
C
32 22 101
build_index_meta()
B
35 19 82
get_objects_to_index()
B
42 18 45
process_sync_item()
A
43 14 47
is_full_reindexing()
A
51 11 24
index_cleanup()
A
46 8 40
stop_the_insanity()
S
50 7 28
index_objects()
S
49 5 30
update_last_index()
S
50 5 26
output()
S
54 5 20
maybe_process_error_limit()
S
57 5 16
put_mapping()
S
53 4 22
full_index()
S
56 4 18
add_sync_item_to_stack()
S
56 4 17
flush_messages_queue()
S
60 4 13
create_network_alias()
S
52 3 26
on_error_update_and_clean()
S
52 3 24
process_not_active_indexable_sync_item()
S
57 3 18
build_message_errors_data()
S
57 3 17
handle_index_error()
S
68 3 7
output_index_errors()
S
64 3 8
should_skip_object_index()
S
70 2 5
get_last_sync()
S
69 2 7
factory()
S
68 2 8
maybe_apply_feature_settings()
S
71 2 6
has_items_to_be_processed()
S
77 2 3
filter_indexables()
S
67 2 8
clear_index_meta()
S
68 2 7
add_last_sync()
S
60 1 13
update_totals_from_current_sync_item()
S
60 1 13
should_suggest_retry()
S
79 1 3
queue_message()
S
69 1 7
get_index_default_per_page()
S
77 1 3
setup()
S
79 1 3
wp_handle_index_error()
S
77 1 4
get_index_meta()
S
78 1 3
get_sync_history()
S
78 1 3
output_error()
S
79 1 3
output_success()
S
79 1 3
has_network_alias_to_be_created()
S
79 1 3
full_index_complete()
S
69 1 6
get_last_index()
S
75 1 4